:root {
    --menuBg: #304156;
    --menuText: #bfcbd9;
    --menuActiveText: #409eff;
    --menuHover: #263445;
    --subMenuBg: #1f2d3d;
    --subMenuActiveText: #f4f4f5;
    --subMenuHover: #001528;
}

#app .main-container {
    min-height: 100%;
    transition: margin-left 0.28s;
    margin-left: 210px;
    position: relative;
}

#app .sidebar-container {
    transition: width 0.28s;
    width: 210px !important;
    background-color: var(--menuBg);
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
}

#app .sidebar-container .horizontal-collapse-transition {
    transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
}

#app .sidebar-container .scrollbar-wrapper {
    overflow-x: hidden !important;
}

#app .sidebar-container .el-scrollbar__bar.is-vertical {
    right: 0px;
}

#app .sidebar-container .el-scrollbar {
    height: 100%;
}

#app .sidebar-container.has-logo .el-scrollbar {
    height: calc(100% - 50px);
}

#app .sidebar-container .is-horizontal {
    display: none;
}

#app .sidebar-container .svg-icon {
    margin-right: 16px;
}

#app .sidebar-container .sub-el-icon {
    margin-right: 12px;
    margin-left: -2px;
}

#app .sidebar-container .el-menu {
    border: none;
    height: 100%;
    width: 100% !important;
}

#app .sidebar-container .el-sub-menu__title:hover {
    background-color: var(--menuHover) !important;
}

#app .sidebar-container .is-active>.el-sub-menu__title {
    color: var(--subMenuActiveText) !important;
}

#app .sidebar-container .nest-menu .el-sub-menu>.el-sub-menu__title,
#app .sidebar-container .el-sub-menu .el-menu-item {
    min-width: 210px !important;
    background-color: var(--subMenuBg) !important;
}

#app .sidebar-container .nest-menu .el-sub-menu>.el-sub-menu__title:hover,
#app .sidebar-container .el-sub-menu .el-menu-item:hover {
    background-color: var(--subMenuHover) !important;
}

#app .hideSidebar .sidebar-container {
    width: 54px !important;
}

#app .hideSidebar .sidebar-container .svg-icon {
    margin-right: 0px;
}

#app .hideSidebar .main-container {
    margin-left: 54px;
}

#app .hideSidebar .el-sub-menu {
    overflow: hidden;
}

#app .hideSidebar .el-sub-menu>.el-sub-menu__title {
    padding: 0 !important;
}

#app .hideSidebar .el-sub-menu>.el-sub-menu__title .svg-icon {
    margin-left: 20px;
}

#app .hideSidebar .el-sub-menu>.el-sub-menu__title .sub-el-icon {
    margin-left: 19px;
}

#app .hideSidebar .el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow {
    display: none;
}

#app .hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title>span {
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: inline-block;
}

#app .el-menu--collapse .el-menu .el-sub-menu {
    min-width: 210px !important;
}

#app .mobile .main-container {
    margin-left: 0px;
}

#app .mobile .sidebar-container {
    transition: transform 0.28s;
    width: 210px !important;
}

#app .mobile.hideSidebar .sidebar-container {
    pointer-events: none;
    transition-duration: 0.3s;
    transform: translate3d(-210px, 0, 0);
}

#app .withoutAnimation .main-container,
#app .withoutAnimation .sidebar-container {
    transition: none;
}

.el-menu--vertical>.el-menu .svg-icon {
    margin-right: 16px;
}

.el-menu--vertical>.el-menu .sub-el-icon {
    margin-right: 12px;
    margin-left: -2px;
}

.el-menu--vertical .nest-menu .el-sub-menu>.el-sub-menu__title:hover,
.el-menu--vertical .el-menu-item:hover {
    background-color: var(--menuHover) !important;
}

.el-menu--vertical>.el-menu--popup {
    max-height: 100vh;
    overflow-y: auto;
}

.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-track-piece {
    background: #d3dce6;
}

.el-menu--vertical>.el-menu--popup::-webkit-scrollbar {
    width: 6px;
}

.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-thumb {
    background: #99a9bf;
    border-radius: 20px;
}
